import Axios from "axios"


export default{
    namespaced:true,
    state:{
        jingdianmdianyingList:[],
    },
    mutations:{
        setJingdiandianying(state,payload){
            state.jingdianmdianyingList=payload;
            // console.log(state.yingyuanList);      
        }
    },
    actions:{
        async requestJingdiandianying(context){
            const {data}=await Axios.get('/data/cinemasInfo.json');
            console.log(data);                                                                  
            context.commit('setJingdiandianying',data);
        }
    }
}